/**
 * 接口方法
*/
// 视频顾问 列表获取、删除、排序
export const adviser = {
    get: (data) => {
        return window.vm.$http.post('/admin/yt_car/index.php?act=consultManagement&op=consultGroupList', data);
    },
    del: (data) => {
        return window.vm.$http.post('/admin/yt_car/index.php?act=consultManagement&op=deleteGroup', data);
    },
    sortBy: (data) => {
        return window.vm.$http.post('/admin/yt_car/index.php?act=consultManagement&op=modifyGroupSort', data);
    }
}

// 视频顾问 新增、编辑
export const adviserSave = {
    save: (data) => {
        return window.vm.$http.post('/admin/yt_car/index.php?act=consultManagement&op=saveConsultGroup', data);
    },
}

// 视频记录列表
export const videoRecord = {
    get: (data) => {
        return window.vm.$http.post('/admin/yt_car/index.php?act=consultManagement&op=videoConsultList', data);
    },
}